package cn.zcy.service;

import cn.zcy.domain.Account;

import java.util.List;

public interface AccountService {

    void save(Account account);

    void  update(Account account);

    void  delete(Integer id);

    Integer transfer(String sourceName, String targeName, Double money);

    Account findAccountById(Integer id);

    List<Account> findAll();

    void outMoney(Account sourceAccount);
}
